package cn.com.thinvent.dispatch.entity.response;

import cn.com.thinvent.dispatch.entity.*;

import java.io.Serializable;
import java.util.List;

public class ResultDetailResponse implements Serializable {
    private static final long serialVersionUID = 298975961918894492L;

    /**
     * 模型任务详情信息
     */
    private ModelTask modelTask;

    /**
     * 数据源信息
     */
    private List<ModelDatasource> modelDatasources;

    /**
     * 非结构化数据源详情信息
     */
    private List<FileContent> fileContents;

    /**
     * 映射结果信息
     */
    private PagedGridResult<ModelDatasourceResultMappingResponse> modelDatasourceResultMappingResponse;

    /**
     * 执行错误信息表
     */
    private List<ModelError> modelErrorList;

    public ModelTask getModelTask() {
        return modelTask;
    }

    public void setModelTask(ModelTask modelTask) {
        this.modelTask = modelTask;
    }

    public PagedGridResult<ModelDatasourceResultMappingResponse> getModelDatasourceResultMappingResponse() {
        return modelDatasourceResultMappingResponse;
    }

    public void setModelDatasourceResultMappingResponse(PagedGridResult<ModelDatasourceResultMappingResponse> modelDatasourceResultMappingResponse) {
        this.modelDatasourceResultMappingResponse = modelDatasourceResultMappingResponse;
    }

    public List<ModelDatasource> getModelDatasources() {
        return modelDatasources;
    }

    public void setModelDatasources(List<ModelDatasource> modelDatasources) {
        this.modelDatasources = modelDatasources;
    }

    public List<FileContent> getFileContents() {
        return fileContents;
    }

    public void setFileContents(List<FileContent> fileContents) {
        this.fileContents = fileContents;
    }

    public List<ModelError> getModelErrorList() {
        return modelErrorList;
    }

    public void setModelErrorList(List<ModelError> modelErrorList) {
        this.modelErrorList = modelErrorList;
    }
}
